package com.yuanfeng.base.feign;


import com.yuanfeng.commoms.util.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Map;


/**
 * @ClassName OrderClient
 * @Description
 * @Author liulh
 * @Date 2023/4/13 11:17
 * @Version 1.0
 **/
@FeignClient(name = "mall-order", url = "http://localhost:8082")
public interface OrderClient {

    @RequestMapping("order/base/queryIntegraOrdersCount")
    public ResponseResult queryIntegraOrdersCount(@RequestBody Map<String, Object> map);
}
